﻿using Ay.MvcFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// 围岩移动
/// </summary>
namespace MPSystem.Models
{
    public class BasicDataSet_SystemModel_MG : Model
    {

        

    }
   
        /// <summary>
        /// 锚杆--左边
        /// </summary>
        public class MG_Left : AyPropertyChanged
         {
        private int _cgqbh;
        private int _csbh = -1;
        private int _xdmc = -1;
        private int _cgqksbh;
        private int _cgqzzbh;
        private int _csyjz = -1;
        private int _bjz = -1;
        private int _alarmvalue;
        private int _totalsum;
        private string _writecyc;
        private double _selecttype;
        private double _MGCSYJL;
        private bool _alarmsound;
        private bool _alarmphone;
        private float _bzyl;
        private int _ID;

        /// <summary>
        /// 测区编号
        /// </summary>
        public int CQBH
        {
            get { return _csbh; }
            set { Set(ref _csbh, value); }
        }

        /// <summary>
        /// 巷道编号
        /// </summary>
        public int XDBH
        {
            get { return _xdmc; }
            set { Set(ref _xdmc, value); }
        }
        
        /// <summary>
        ///传感器开始编号
        /// </summary>
        public int CGQQSBH
        {
            get { return _cgqksbh; }
            set { Set(ref _cgqksbh, value); }
         }
        /// <summary>
        /// 传感器终止编号
        /// </summary>
        public int CGQZZBH
        {
            get { return _cgqzzbh; }
            set { Set(ref _cgqzzbh, value); }
        }

        /// <summary>
        ///锚杆报警
        /// </summary>
        public int MGBJZ
        {
            get { return _alarmvalue; }
            set { Set(ref _alarmvalue, value); }
              }
        /// <summary>
        /// 锚索报警值
        /// </summary>
        public int MSBJZ
        {
            get { return _totalsum; }
            set { Set(ref _totalsum, value); }
              }
        /// <summary>
        /// 锚杆初始预警力
        /// </summary>
        public double MGCSYJL
        {
            get { return _MGCSYJL; }
            set { Set(ref _MGCSYJL, value); }
        }
        /// <summary>
        /// 锚索初始预警力
        /// </summary>
        public double MSCSYJL
        {
            get { return _selecttype; }
            set { Set(ref _selecttype, value); }
        }
        /// <summary>
        /// 数据记录周期
        /// </summary>
        public string SJJLZQ
        {
            get { return _writecyc; }
            set { Set(ref _writecyc, value); }
             }
        /// <summary>
        /// 声音报警
        /// </summary>
        public bool WAVEBJ
        {
            get { return _alarmsound; }
            set { Set(ref _alarmsound, value); }
             }
        /// <summary>
        /// 手机报警
        /// </summary>
        public bool DXBJ
        {
            get { return _alarmphone; }
            set { Set(ref _alarmphone, value); }
              } 
        public int ID { get => _ID; set => _ID = value; }
    }
    /// <summary>
    /// 综采压力--右边
    /// </summary>
    public class MG_Right : AyTableViewRowModel
    {
        private int _cgqbh; 
        private float _A;
        private float _B;
        private string _wz ;
        private int _zt=-1 ; 
        private string _lx ;
        private string _diameter;
        private int  _XDBH; 
        /// <summary>
        /// 分机编号
        /// </summary>
        public int CGQBH { get => _cgqbh; set => _cgqbh = value; }
       
        /// <summary>
        /// 位置
        /// </summary>
        public string CGQWZ { get => _wz; set => Set(ref _wz, value); }
        /// <summary>
        /// 状态
        /// </summary>
       public int SYZT
        {
            get { return _zt; }
             set
            {
                Set(ref _zt, value);

            }
        }
              
       
        /// <summary>
        /// 类型
        /// </summary>
        public string CGQLX
        {
            get { return _lx; }
            set
            {
                Set(ref _lx, value);

            }
        }
        /// <summary>
        /// 直径
        /// </summary>
        public string MGZJ { get => _diameter; set => Set(ref _diameter, value); }
        public int XDBH { get => _XDBH; set => _XDBH = value; }
       
    }
    /// <summary>
    /// 综采压力--下面
    /// </summary>
    public class MG_Bottom : AyTableViewRowModel
    {
        private int _cgqbh;
        private int _cqbh = -1;
        private string _cqmc;
        private int _xdbh = -1;
        private string _xdmc;
        private int _cgqksbh;
        private int _cgqzzbh;
        private int _csyjz = -1;
        private int _bjz = -1;
        private int _alarmvalue;
        private int _totalsum;
        private string _writecyc;
        private double _selecttype;
        private double _MGCSYJL;
        private bool _alarmsound;
        private bool _alarmphone;
        private float _bzyl;
        private int _ID;

        /// <summary>
        /// 测区编号
        /// </summary>
        public int CQBH
        {
            get { return _cqbh; }
            set { Set(ref _cqbh, value); }

        }
        /// <summary>
        /// 测区名称
        /// </summary>
        public string CQMC
        {
            get { return _cqmc; }
            set { Set(ref _cqmc, value); }

        }
        /// <summary>
        /// 巷道编号
        /// </summary>
        public int XDBH
        {
            get { return _xdbh; }
            set { Set(ref _xdbh, value); }
        }

        /// <summary>
        /// 巷道名称
        /// </summary>
        public string XDMC
        {
            get { return _xdmc; }
            set { Set(ref _xdmc, value); }

        }

        /// <summary>
        ///传感器开始编号
        /// </summary>
        public int CGQQSBH
        {
            get { return _cgqksbh; }
            set { Set(ref _cgqksbh, value); }
        }
        /// <summary>
        /// 传感器终止编号
        /// </summary>
        public int CGQZZBH
        {
            get { return _cgqzzbh; }
            set { Set(ref _cgqzzbh, value); }
        }

        /// <summary>
        ///锚杆报警
        /// </summary>
        public int MGBJZ
        {
            get { return _alarmvalue; }
            set { Set(ref _alarmvalue, value); }
        }
        /// <summary>
        /// 锚索报警值
        /// </summary>
        public int MSBJZ
        {
            get { return _totalsum; }
            set { Set(ref _totalsum, value); }
        }
        /// <summary>
        /// 锚杆初始预警力
        /// </summary>
        public double MGCSYJL
        {
            get { return _MGCSYJL; }
            set { Set(ref _MGCSYJL, value); }
        }
        /// <summary>
        /// 锚索初始预警力
        /// </summary>
        public double MSCSYJL
        {
            get { return _selecttype; }
            set { Set(ref _selecttype, value); }
        }
        /// <summary>
        /// 数据记录周期
        /// </summary>
        public string SJJLZQ
        {
            get { return _writecyc; }
            set { Set(ref _writecyc, value); }
        }
        /// <summary>
        /// 声音报警
        /// </summary>
        public bool WAVEBJ
        {
            get { return _alarmsound; }
            set { Set(ref _alarmsound, value); }
        }
        /// <summary>
        /// 手机报警
        /// </summary>
        public bool DXBJ
        {
            get { return _alarmphone; }
            set { Set(ref _alarmphone, value); }
        }
        public int ID { get => _ID; set => _ID = value; }
    }
    

   
}
